<?php /* Smarty version 2.6.18, created on 2010-04-28 15:39:00
         compiled from bao_tri_par_cfcsitemmark.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri par_agmifolist ')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" >
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_SETCD']; ?>
</td>
    <!----<?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled"<?php endif; ?>--->
    <td style="color:#FF0000" colspan="3">
<select id="SETCD" name="SETCD" size="1" style="background:<?php echo $this->_tpl_vars['colorSETCD']; ?>
" >  
 		<option value=""></option>
 		<?php $_from = $this->_tpl_vars['cbo_SETCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>        
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['SETCD'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>       
 		<?php endforeach; endif; unset($_from); ?>     
    </select>
	*
	<input type="hidden" name="tmpSETCD" id="tmpSETCD" value="<?php echo $this->_tpl_vars['SETCD']; ?>
" />
    <input type="submit" id="replacement_find" name="find" value="    " <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled" <?php endif; ?> />      </td>
  </tr>
  
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_GRPCODE']; ?>
</td>
    <td colspan="3"><select id="GRPCODE" name="GRPCODE" size="1" style="background:<?php echo $this->_tpl_vars['colorGRPCODE']; ?>
">	    
		<option value=""></option>
 		<?php $_from = $this->_tpl_vars['cbo_GRPCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	       
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['GRPCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	      
    </select>
      <span style="color:#FF0000">* </span>
	<input type="hidden" name="tmpGRPCODE" id="tmpGRPCODE" value="<?php echo $this->_tpl_vars['GRPCODE']; ?>
" />
    </span></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ITEMGRPCODE']; ?>
</td>
    <td colspan="3"><select id="ITEMGRPCODE" name="ITEMGRPCODE" size="1" style="background:<?php echo $this->_tpl_vars['colorITEMGRPCODE']; ?>
">  
		<option value=""></option>  
 		<?php $_from = $this->_tpl_vars['cbo_ITEMGRPCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	       
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['ITEMGRPCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	      
    </select>  
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpITEMGRPCODE" id="tmpITEMGRPCODE" value="<?php echo $this->_tpl_vars['ITEMGRPCODE']; ?>
" />	  </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_GRPRATE']; ?>
</td>
    <td colspan="3"><input name="ITEMGRPDRATE" type="text" id="ITEMGRPDRATE" value="<?php echo $this->_tpl_vars['ITEMGRPDRATE']; ?>
" size="20" maxlength="4" style="background:<?php echo $this->_tpl_vars['colorGRPRATE']; ?>
; text-align:right;" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onblur="formatNumber2(this,this.value,2,2)" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ITEMCODE']; ?>
</td>
    <td colspan="3"><select id="ITEMCODE" name="ITEMCODE" size="1" style="background:<?php echo $this->_tpl_vars['colorITEMCODE']; ?>
" >
        <option value=""></option>
 		<?php $_from = $this->_tpl_vars['cbo_ITEMCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	         
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['ITEMCODE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	       
    </select>   
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpITEMCODE" id="tmpITEMCODE" value="<?php echo $this->_tpl_vars['ITEMCODE']; ?>
" />	 </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_ITEMRATE']; ?>
</td>
    <td colspan="3"><input name="ITEMRATE" type="text" id="ITEMRATE" value="<?php echo $this->_tpl_vars['ITEMRATE']; ?>
" size="20" maxlength="4" style="background:<?php echo $this->_tpl_vars['colorITEMRATE']; ?>
; text-align:right;" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onblur="formatNumber2(this,this.value,2,2)" />
      <span style="color:#FF0000">*</span></td>
  </tr>
  
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CURSECTOR']; ?>
</td>
    <td colspan="3"><select id="CURSECTOR" name="CURSECTOR" size="1" style="background:<?php echo $this->_tpl_vars['colorCURSECTOR']; ?>
">  	
		<option value=""></option>    
 		<?php $_from = $this->_tpl_vars['cbo_CURSECTOR']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	         
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['CURSECTOR'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	        
    </select>
      <span style="color:#FF0000">* </span> 
	<input type="hidden" name="tmpCURSECTOR" id="tmpCURSECTOR" value="<?php echo $this->_tpl_vars['CURSECTOR']; ?>
" />	   </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_CURSCALE']; ?>
</td>
    <td colspan="3"><select id="CURSCALE" name="CURSCALE" size="1" style="background:<?php echo $this->_tpl_vars['colorCURSCALE']; ?>
"> 
		<option value=""></option> 	    
 		<?php $_from = $this->_tpl_vars['cbo_CURSCALE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?> 	        
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['CURSCALE'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['k']; ?>
 - <?php echo $this->_tpl_vars['v']; ?>
</option>
 		<?php endforeach; endif; unset($_from); ?>	      
    </select>
      <span style="color:#FF0000">* </span>    
	<input type="hidden" name="tmpCURSCALE" id="tmpCURSCALE" value="<?php echo $this->_tpl_vars['CURSCALE']; ?>
" />	</td>
    </tr> 
	
	<tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_MIN']; ?>
</td>
    <td colspan="3"><input name="MIN" type="text" id="MIN" value="<?php echo $this->_tpl_vars['MIN']; ?>
" size="20" maxlength="20" style="background:<?php echo $this->_tpl_vars['colorMIN']; ?>
; text-align:right;" onkeypress="return numberOnly(event);" onblur="formatNumberNull(this,this.value,18,2)"/>
	  <span style="color:#FF0000">* </span>
	  <input type="hidden" name="tmpMIN" id="tmpMIN" value="<?php echo $this->_tpl_vars['MIN']; ?>
" />	</td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_MAX']; ?>
</td>
    <td colspan="3"><input name="MAX" type="text" id="MAX" value="<?php echo $this->_tpl_vars['MAX']; ?>
" size="20" maxlength="20" style="background:<?php echo $this->_tpl_vars['colorMAX']; ?>
; text-align:right;" onkeypress="return numberOnly(event);" onblur="formatNumberNull(this,this.value,18,2)" />
      <span style="color:#FF0000">* </span>
	<input type="hidden" name="tmpMAX" id="tmpMAX" value="<?php echo $this->_tpl_vars['MAX']; ?>
" />	</td>
  </tr>
<tr>
<td colspan="4">
<p>
<p></td>
</tr>
<tr>

<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'SETCD-GRPCODE-ITEMGRPCODE-ITEMRATE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td align="left" nowrap="nowrap" colspan="4">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="3">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td width="69%" align="right" nowrap="nowrap"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>
</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>